package com.ylxn.entity;

import lombok.Data;

/**
 * @author cenghaile
 * @version 1.0.0
 * @titel ListNode
 * @description
 * @crete 2023/6/1 09:52
 */
@Data
public class ListNode {
    int val;
    public ListNode next;

    ListNode() {
    }

    public ListNode(int val) {
        this.val = val;
    }

    ListNode(int val, ListNode next) {
        this.val = val;
        this.next = next;
    }
}
